package csc.daonjpa.java.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;


@Entity
@Table
@Inheritance (strategy = InheritanceType.JOINED)
public class BaseInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name = "id_number")
	private Integer number;
	
	@Column(name= "available_amount")
	private double availableAmount;
	
	public BaseInfo() {
		
	}
	public BaseInfo(Integer number, Double availableAmount) {
		this.number = number;
		this.availableAmount = availableAmount;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public double getAvailableAmount() {
		return availableAmount;
	}
	public void setAvailableAmount(double availableAmount) {
		this.availableAmount = availableAmount;
	}

	

}
